﻿using System.Xml.Serialization;
using System;

namespace Com.Enterprisecoding.TFS.CheckInNotifier.EventData {
    [XmlRoot]
    public class CheckinEvent {
        [XmlElement]
        public bool AllChangesIncluded { get; set; }

        [XmlElement]
        public string Owner { get; set; }

        [XmlElement]
        public string CreationDate { get; set; }

        [XmlElement]
        public string Comment { get; set; }

        [XmlElement]
        public string TeamProject { get; set; }

        [XmlElement]
        public string Title { get; set; }

        [XmlElement]
        public string ContentTitle { get; set; }

        [XmlElement]
        public string Committer { get; set; }

        [XmlElement]
        public int Number { get; set; }

        [XmlArray]
        [XmlArrayItem("Artifact")]
        public ClientArtifact[] Artifacts { get; set; }
    }
}